﻿using Sustainalytics.Services.Admin.WebApi.DTOs;
using Sustainalytics.Utils;
using System;
using System.Collections.Generic;

namespace Sustainalytics.Services.Admin.WebApi.Controllers
{
    interface IEventsController
    {
        EventsDto AddEvent(EventsDto eventObj);
        void DeleteEvent(Guid eventId);
        EventsDto GetEvent(Guid eventId);
        PagedList<EventsDto> GetEventsPaged(string term = null, int? category = null, int pageIndex = 1, int pageSize = 20, string orderBy = null);
        void PublishMultipleEvents(IEnumerable<Guid> eventsItems, bool publish);
        EventsDto UpdateEvent(EventsDto eventsObj);
    }
}
